define([
  'jquery'
], function($) {
  $("button").on("tap",function () { 
    var btnArray = ['取消', '确认'];  
    mui.confirm("是否确认退出"," ", btnArray,function (e) { 
      if (e.index == 1) {
        window.location.href = "/AppHome/index/logout"
      }
     })
   })
  
});